package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 7/9/13
 * Time: 8:45 PM
 * To change this template use File | Settings | File Templates.
 */
public class Book extends LibraryItem{
    private boolean reserved;

    Book(String name){
        super(name);
        reserved=false;
    }


    public void setReserved(boolean reserved) {
        this.reserved = reserved;
    }

    public boolean isReserved() {
        return reserved;
    }
    @Override
    public String getName(){
        return name;
    }
}
